export default {
  get matchList() {
    return JSON.parse(localStorage.getItem("matchList"));
  },
  set matchList(value) {
    localStorage.setItem("matchList", JSON.stringify(value));
  },

  get areas() {
    return JSON.parse(localStorage.getItem("areas"));
  },
  set areas(value) {
    localStorage.setItem("areas", JSON.stringify(value));
  },

  get tanma() {
    return JSON.parse(sessionStorage.getItem("tanma"));
  },
  set tanma(value) {
    sessionStorage.setItem("tanma", JSON.stringify(value));
  },

  get isTanma() {
    return JSON.parse(localStorage.getItem("isTanma"));
  },
  set isTanma(value) {
    localStorage.setItem("isTanma", JSON.stringify(value));
  },
  set errorList(value) {
    sessionStorage.setItem("errorList", JSON.stringify(value));
  },
  get errorList() {
    return JSON.parse(sessionStorage.getItem("errorList"));
  }
};
